﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" x:Class="SUMO.MediaBrowser.LoginWindow"
           Width="400" Height="300" 
           Title="Login to Umbraco" mc:Ignorable="d">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

    	<Grid.ColumnDefinitions>
    		<ColumnDefinition/>
    	</Grid.ColumnDefinitions>

        <Button x:Name="OKButton" Content="Login" Click="OKButton_Click" Height="23" Margin="0,12,79,0" Grid.Row="1" HorizontalAlignment="Right" Width="75" />
    	<TextBox Margin="147,0,23,82" VerticalAlignment="Bottom" TextWrapping="NoWrap"/>
    	<TextBox Margin="147,92,23,110" TextWrapping="NoWrap" d:LayoutOverrides="Height"/>
    	<TextBox Margin="147,64,23,0"  Text="{Binding ServiceUrl}" TextWrapping="NoWrap" VerticalAlignment="Top" Height="24" d:LayoutOverrides="VerticalAlignment"/>
    	<TextBlock HorizontalAlignment="Left" Margin="25,8,0,0" VerticalAlignment="Top" TextWrapping="Wrap"><Run Text="Please enter your"/><Run Text=" credentials below to connect to Umbraco"/><Run Text=" "/></TextBlock>
    	<dataInput:Label HorizontalAlignment="Left" Margin="29,68,0,0" VerticalAlignment="Top" Content="Media servive URL:"/>
    	<dataInput:Label HorizontalAlignment="Left" Margin="80,0,0,84" VerticalAlignment="Bottom" Content="Password:"/>
    	<dataInput:Label HorizontalAlignment="Left" Margin="76,98,0,112" Content="Username:" d:LayoutOverrides="Height"/>
    	<Button HorizontalAlignment="Right" Margin="0,12,0,1" Width="75" Content="Cancel" Grid.Row="1" d:LayoutOverrides="Height" Click="CancelButton_Click"/>
    </Grid>
</controls:ChildWindow>